#!/bin/sh

if [ -d "build/" ]; then
    echo "Found build/"
    cd build
    rm -rf ./*
    cmake -G"Unix Makefiles" ..
    make
else
    echo "Not Found build/"
    mkdir build
    cd build
    cmake -G"Unix Makefiles" ..
    make
fi
